package cool.taomu.toolkit.rpc.thrift.entity

import org.eclipse.xtend.lib.annotations.Accessors
import org.eclipse.xtend.lib.annotations.ToString

@Accessors
@ToString
class ThriftConfig {

	String name;
	String networkInterfacesName;
	String host;
	int port;
	int timeout = 30000;
	int minWorkerThreads = Runtime.getRuntime().availableProcessors;
	int maxWorkerThreads = minWorkerThreads * 2;
}
